﻿
/// <summary>
/// 将 Visual 对象转换为位图帮助类
/// </summary>
public static class RenderTargetBitmapHelper
{
    //public static BitmapSource ElementToBitmap(FrameworkElement element)
    //{
    //    if (element.ActualWidth == 0 || element.ActualHeight == 0) return null;
    //}

    //public static BitmapSource ElementToGrayscaleBitmap()
    //{
    //}

    //public static BitmapSource HwndToBitmap()
    //{
    //}

    //public static BitmapSource HwndToGrayscaleBitmap()
    //{
    //}

    //public static BitmapSource VisualToBitmap()
    //{
    //}
    //public static string VisualToFile()
    //{
    //    return null;
    //}
}
